﻿<SettingsFlyout
    x:Class="SharPy.AboutFlyout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SharPy"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    IconSource="Assets/SmallLogo.png"
    Title="About"
    DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
    d:DesignWidth="346">

    <!-- This StackPanel acts as a root panel for vertical layout of the content sections -->
    <StackPanel VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >

        <!-- The StackPanel(s) below define individual content sections -->

        <!-- Content Section 1-->
        <StackPanel Style="{StaticResource SettingsFlyoutSectionStyle}">

            <!-- Section 1 header -->
            <TextBlock Style="{StaticResource TitleTextBlockStyle}" Text="SharPy Visual Novel Engine" />

            <!-- Section 1 body -->
            <TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="0,0,0,25" TextWrapping="Wrap"
                       Text="{Binding Version}">
            </TextBlock>

        </StackPanel>

        <!-- Define more Content Sections below as necessary -->

        <!-- Content Section 1-->
        <StackPanel Style="{StaticResource SettingsFlyoutSectionStyle}">

            <!-- Section 1 header -->
            <TextBlock Style="{StaticResource TitleTextBlockStyle}" Text="Thank you for your interest in project!" />

            <!-- Section 1 body -->
            <TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="0,0,0,25" TextWrapping="Wrap">
                <TextBlock.Text>
                    SharPy is inspired by RenPy Visual Novel Engine, 
                    please visit their site and support:
                </TextBlock.Text>
            </TextBlock>
            <HyperlinkButton>
                www.renpy.org
            </HyperlinkButton>
            <TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="0,0,0,25" TextWrapping="Wrap">
                <TextBlock.Text>
                SharPy VN is completely free and open-source.
                </TextBlock.Text>
            </TextBlock>
            <TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="0,0,0,25" TextWrapping="Wrap">
                <TextBlock.Text>
                If you are interested in developing games,
                porting your RenPy game or developing the engine
                itself, please visit our site and codeplex page:
                </TextBlock.Text>
             </TextBlock>
            <HyperlinkButton>
                www.sharpyvn.codeplex.com
            </HyperlinkButton>
        </StackPanel>
        <TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="0,0,0,25" TextWrapping="Wrap">
            <TextBlock.Text>
            For any questions please contact me at boris@2ch.hk
            </TextBlock.Text>
        </TextBlock>
    </StackPanel>
</SettingsFlyout>
